datacenter = "{{ consul_datacenter }}"
domain = "{{ consul_domain }}"
data_dir = "/opt/consul"
client_addr = "127.0.0.1"
ui_config{
    enabled = false
}
server = false
bootstrap = false
bind_addr = "0.0.0.0"

encrypt = "{{ consul_gossip_encrypt }}"
retry_join = [
    {% for host in groups['consul'] %}
        "{{ hostvars[host]['ansible_host'] }}"{% if not loop.last %},{% endif %}
        
    {% endfor %}
]
rejoin_after_leave = true

log_level = "{{ consul_log_lvl }}"
